package com.dc.gameserver.serverCore.model.dbsql.mapper;

import com.dc.gameserver.serverCore.model.dbsql.modelVo.TRoleItemProps;
import com.dc.gameserver.serverCore.model.dbsql.modelVo.TRoleItemPropsExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TRoleItemPropsMapper {
    int countByExample(TRoleItemPropsExample example);

    int deleteByExample(TRoleItemPropsExample example);

    int deleteByPrimaryKey(Integer propsid);

    int insert(TRoleItemProps record);

    int insertSelective(TRoleItemProps record);

    List<TRoleItemProps> selectByExample(TRoleItemPropsExample example);

    TRoleItemProps selectByPrimaryKey(Integer propsid);

    int updateByExampleSelective(@Param("record") TRoleItemProps record, @Param("example") TRoleItemPropsExample example);

    int updateByExample(@Param("record") TRoleItemProps record, @Param("example") TRoleItemPropsExample example);

    int updateByPrimaryKeySelective(TRoleItemProps record);

    int updateByPrimaryKey(TRoleItemProps record);
}